package yy.yyds.org.service;

import yy.yyds.basic.query.util.QueryResult;

import yy.yyds.org.domain.Shop;

import yy.yyds.org.query.ShopQuery;

import java.util.List;

public interface IShopService {
    /*添加*/
    void add(Shop shop);
    /*删除*/
    void delete (Long id);
    /*修改*/
    void update(Shop shop);
    /*查询一条*/
    Shop loadOne(Long id);
    /*查询所有*/
    List<Shop> loadAll();

    /*分页查询的方法*/
    QueryResult<Shop> querypage(ShopQuery shopQuery);
}
